package haois.module.tasks.service;

import haois.module.tasks.dao.mapper.JobAndTriggerMapper;
import haois.module.tasks.daomain.JobAndTrigger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by RuiHaoZ on 2018/4/29 12:16
 */
@Service
public class JobAndTriggerService {
    @Autowired
    private JobAndTriggerMapper jobAndTriggerMapper;

    public List<JobAndTrigger> getJobAndTriggerDetails(int pageNum, int pageSize) {
        List<JobAndTrigger> list = jobAndTriggerMapper.getJobAndTriggerDetails();
        return list;
    }
}
